package com.jiaolong.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取支付宝配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "alipay")
public class AlipayConfig {

    private String appId; // 支付宝appid

    private String appPrivateKey; // 应用私钥

    private String alipayPublicKey; // 支付宝公钥

    private String notifyUrl; // 支付宝通知本地完整接口

    private String serverUrl; // 支付宝网关地址

    private String format;

    private String charset;

    private String signType; // 签名算法
}
